package com.dd.stack.mybatisplus.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/1/31 11:26
 * @Description 订单请求类 用于发布订阅消息队列Redis实现
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单请求类 用于发布订阅消息队列Redis实现")
public class OrderReq {
    @ApiModelProperty("用户Id")
    private String userId;
    @ApiModelProperty("订单量")
    private double totalAmount;
    @ApiModelProperty("订单子项")
    private List<OrderItemReq> items;
}
